/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package my.cbr.database.model;

/**
 *
 * @author Marte
 */
public class HatcheryCompanyID {

    private Integer hatcheryID;

    public HatcheryCompanyID() {
    }

    public HatcheryCompanyID(Integer hatcheryID) {
        this.hatcheryID = hatcheryID;
    }
    
    public Integer getHatcheryID() {
        return hatcheryID;
    }

    public void setHatcheryID(Integer hatcheryID) {
        this.hatcheryID = hatcheryID;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final HatcheryCompanyID other = (HatcheryCompanyID) obj;
        if (this.hatcheryID != other.hatcheryID && (this.hatcheryID == null || !this.hatcheryID.equals(other.hatcheryID))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 53 * hash + (this.hatcheryID != null ? this.hatcheryID.hashCode() : 0);
        return hash;
    }
    
}
